projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07e9823
)
update LISP_MAKE_RVALUE comment for union, non-gcc case
author
Ken Raeburn
<raeburn@raeburn.org>
Mon, 20 May 2002 08:38:28 +0000
(08:38 +0000)
committer
Ken Raeburn
<raeburn@raeburn.org>
Mon, 20 May 2002 08:38:28 +0000
(08:38 +0000)
src/lisp.h
patch
|
blob
|
history
diff --git
a/src/lisp.h
b/src/lisp.h
index d8bb5bf08af1fbf41a09392153987ca117d56cc0..c179e8d04d2ac9f75b8caf2e8d5bf4387539d6f7 100644
(file)
--- a/
src/lisp.h
+++ b/
src/lisp.h
@@
-235,7
+235,11
@@
LISP_MAKE_RVALUE (Lisp_Object o)
return o;
}
#else
-#define LISP_MAKE_RVALUE(o) (o) /* XXX - keeps arg as rvalue. */
+/* This isn't quite right - it keeps the argument as an lvalue.
+ Making it const via casting would help avoid code actually
+ modifying the location in question, but the casting could cover
+ other type-related bugs. */
+#define LISP_MAKE_RVALUE(o) (o)
#endif
#endif /* NO_UNION_TYPE */